package com.ktwlsoft.archivemanage.payload.role;

import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.Size;

@Getter
@Setter
public class AddRoleRequest {

    @ApiModelProperty("角色名称")
    @Size(max = 10, min = 1, message = "角色名称限制在1~10个字符")
    private String roleName;

    @ApiModelProperty("备注")
    @Size(max = 30, message = "备注不能超过30字符")
    private String remark;
}
